projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23889ab
)
(same_x_server): String pointer args now point to
author
Ken Raeburn
<raeburn@raeburn.org>
Tue, 16 Jul 2002 19:49:27 +0000
(19:49 +0000)
committer
Ken Raeburn
<raeburn@raeburn.org>
Tue, 16 Jul 2002 19:49:27 +0000
(19:49 +0000)
const.
(same_x_server): Use const for pointer to lisp string
data.
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index b0b52ebbdf3377ff3573b55e8619730351a6b78f..151fe74419342d8bd74b67d16b42376d182e1b9e 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-14686,10
+14686,10
@@
static int x_initialized;
the screen number from the server number. */
static int
same_x_server (name1, name2)
- char *name1, *name2;
+ c
onst c
har *name1, *name2;
{
int seen_colon = 0;
- unsigned char *system_name = SDATA (Vsystem_name);
+
const
unsigned char *system_name = SDATA (Vsystem_name);
int system_name_length = strlen (system_name);
int length_until_period = 0;